<template>
  <el-popover placement="bottom" ref="popover">
    <p>你确定要删除该条记录吗?</p>
    <div style="text-align: right; margin: 0">
      <el-button size="mini" type="text" @click="dialogVisible = false"
        >取消</el-button
      >
      <el-button type="primary" size="mini" @click="out">确定</el-button>
    </div>
    <el-button slot="reference" size="small">强退</el-button>
  </el-popover>
</template>

<script>
export default {
  props: {
    uid: String
  },
  methods: {
      out(){
        console.log(this.uid)
        this.$emit('forceOut', this.uid);
      }
  }
};
</script>
